package study2018.com.xtianzhuang.www.spring.demo.mvc.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import study2018.com.xtianzhuang.www.spring.demo.service.IdemoService;
import study2018.com.xtianzhuang.www.spring.framework.annotation.GPAutoWired;
import study2018.com.xtianzhuang.www.spring.framework.annotation.GPController;
import study2018.com.xtianzhuang.www.spring.framework.annotation.GPRequestMapping;
import study2018.com.xtianzhuang.www.spring.framework.annotation.GPRequestParam;

@GPController
@GPRequestMapping("/demo")
public class DemoAction {

	@GPAutoWired
	private IdemoService service;

	@GPRequestMapping("/add")
	public void add(HttpServletRequest request, HttpServletResponse response, @GPRequestParam("name") String name) {

	}
	
}
